ExamPlay Light Logo
Đăng nhập

Computer Science for IGCSE & O level - Programming (Section 16 - No. 17)

What happens if the 'age' is 17 in the given code? ``` IF age >= 17 THEN Print "You are an adult" ELSE Print "You are a child" ENDIF ```
You are a child
You are an adult
No output is produced
An error is produced.

Giải thích

Since age (17) is greater than or equal to 17, 'You are an adult' will be printed.

Bình luận (0)

Đăng nhập để bình luận
Quảng cáo
BrainBehindX Inc Logo
©2026; Được cung cấp bởi BrainBehindX Inc